import InputForm from "./inputForm.vue";
import SelectForm from "./selectForm.vue"
import DateForm from "./dateForm.vue"
import DatetimeForm from "./datetimeForm.vue"
import TimeForm from "./timeForm.vue"
import cascaderForm from "./cascaderForm.vue";
const baseMap = {
  'input': InputForm,
  'select': SelectForm,
  'date':DateForm,
  'datetime':DatetimeForm,
  'time':TimeForm,
  'tree':cascaderForm
};
export function getComponents(type) {
  return baseMap[type]
}